package com.ddwl.schema.bo.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 创建售后订单
 * @author wenbin
 */
@Data
@ApiModel("创建售后订单入参")
public class CreateAfterSaleOrderBo {
/*
    @Valid
    @NotNull( message = "商品信息不能为空")
    @ApiModelProperty(value = "订单商品信息")
    private OrderSpuVo orderSpuVo;*/
    @Valid
    @NotNull( message = "订单spuOrderId不能为空")
    @ApiModelProperty(value = "订单spuOrderId")
    private String spuOrderId;

    @NotNull( message = "申请类型不能为空")
    @ApiModelProperty(value = "申请类型(0.退货退款 1仅退款 2换货)")
    private Integer afterSaleType;

    @ApiModelProperty(value = "barcode")
    private String barcode;

    @NotNull( message = "退款原因不能为空")
    @ApiModelProperty(value = "退款原因")
    private Integer afterSaleReason;

    //@NotNull( message = "退款金额不能为空")
    @ApiModelProperty(value = "退款金额")
    private BigDecimal afterSaleAmount;

    @NotNull( message = "退款说明不能为空")
    @ApiModelProperty(value = "退款说明")
    private String afterSaleRemark;

    //@NotNull( message = "退货数量不能为空")
    @ApiModelProperty(value = "退货数量")
    private Integer skuQty;

    @ApiModelProperty(value = "店铺id")
    private String shopId;
    @ApiModelProperty(value = "店铺id",hidden = true)
    private String shopName;
    @ApiModelProperty(value = "店铺logo",hidden = true)
    private String shopLogo;

    @ApiModelProperty(value = "运费",hidden = true)
    private BigDecimal fare;

    @ApiModelProperty("售后图片1")
    private String afterSaleImage1;
    @ApiModelProperty("售后图片2")
    private String afterSaleImage2;
    @ApiModelProperty("售后图片3")
    private String afterSaleImage3;
    @ApiModelProperty("售后图片4")
    private String afterSaleImage4;
    @ApiModelProperty("售后图片5")
    private String afterSaleImage5;
    @ApiModelProperty("售后图片6")
    private String afterSaleImage6;

    @ApiModelProperty("寄回到客户电话")
    private String reSendTel;
    @ApiModelProperty("寄回到客户地址")
    private String reSendAddr;
    @ApiModelProperty("寄回到客户区域")
    private String reSendRegion;
    @ApiModelProperty("寄回到客户姓名")
    private String reSendReceiver;


}

